// 组件的核心代码
import React from 'react'
interface Props {
  children?: string;
  onClick?: (e: any) => void;
}
const Button = ({ children="不停游", onClick=()=>{
    console.log("默认点击事件")
} }: Props) => {
  return <input type="button" onClick={onClick} value={children}/>
};
export default Button;
